The Accuracy of Early Fault Prediction in Modified Code
نویسندگان
چکیده
Software systems are normally developed in a number of releases. Each release usually modifies existing code. In this study we show that such modified code can be an important source of faults. Since faults are considered major cost drivers of software projects, the ability to identify fault-prone classes before they are implemented would give a chance to apply some preventive measures, which could bring significant savings on project costs. To achieve that, however, the prediction model available early in the development process would have to be accurate. In this study we compare the accuracy of fault prediction models available before and after the system is implemented. We find that fault prediction models that are available after the system is implemented are about 34% more accurate compared to models available before the system is implemented. We discover that the higher accuracy of the prediction models available after the system is implemented is caused by the metric that describes the size of the class modification. This metric is a code metric that is available only after the system is developed. As further work, we suggest defining design metrics that describe the characteristics of modifications and evaluating their applicability to predict faults in modified code.
منابع مشابه
Improvement of Iranian Seismic Design Code Considering the Near-Fault Effects
Characteristics of ground motions close to the earthquake source can be considerably different from those of far-field motions which should be considered in design process of structures. The current study aimed to present new design response spectra for Iranian seismic design code taking into account the near-fault effects. For this purpose, a new attenuation relation based on the ground motion...
متن کاملEvaluation of Classifiers in Software Fault-Proneness Prediction
Reliability of software counts on its fault-prone modules. This means that the less software consists of fault-prone units the more we may trust it. Therefore, if we are able to predict the number of fault-prone modules of software, it will be possible to judge the software reliability. In predicting software fault-prone modules, one of the contributing features is software metric by which one ...
متن کاملA comparison between software design and code metrics for the prediction of software fault content
Software metrics play an important role in measuring the quality of software. It is desirable to predict the quality of software as early as possible, and hence metrics have to be collected early as well. This raises a number of questions that has not been fully answered. In this paper we discuss, prediction of fault content and try to answer what type of metrics should be collected, to what ex...
متن کاملStatistical models vs. expert estimation for fault prediction in modified code - an industrial case study
Statistical fault prediction models and expert estimations are two popular methods for deciding where to focus the fault detection efforts when the fault detection budget is limited. In this paper, we present a study in which we empirically compare the accuracy of fault prediction offered by statistical prediction models with the accuracy of expert estimations. The study is performed in an indu...
متن کاملViscosity Calculation of Supercritical Gases Based on the Rainwater-Friend Theory and the Modified Enskog Theory
A new correlation function for the calculation of viscosity for five typical supercritical gases is presented using the rainwater-Friend and modified Enskog theory. It is shown that by using accurate value for the thermal pressure and co-volume in the modified Enskog theory, this correlation function is suitable for calculation of the viscosity of supercritical gases, without any density an...
متن کامل